package cn.ee.dfs.esb.mapper;

import cn.ee.dfs.esb.entity.ServiceInfo;
import cn.ee.dfs.esb.entity.UserService;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * Mapper
 *
 * @author TWJ
 * @date 2019-07-31 17:02:37
 */
public interface ServiceInfoMapper extends BaseMapper<ServiceInfo> {

    IPage<ServiceInfo> findServiceDetailPage(Page<ServiceInfo> page, @Param("serviceInfo") ServiceInfo serviceInfo);

    IPage<ServiceInfo> findUserServicesDetailPage(Page<ServiceInfo> page, @Param("userService") UserService userService);
}
